package com.yzjs.wx.response;


import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

@Root(
        name = "xml",
        strict = false
)
public class WxOrderQueryResponse {
    @Element(
            name = "return_code"
    )
    private String returnCode;
    @Element(
            name = "return_msg",
            required = false
    )
    private String returnMsg;
    @Element(
            name = "appid",
            required = false
    )
    private String appid;
    @Element(
            name = "mch_id",
            required = false
    )
    private String mchId;
    @Element(
            name = "nonce_str",
            required = false
    )
    private String nonceStr;
    @Element(
            name = "sign",
            required = false
    )
    private String sign;
    @Element(
            name = "result_code",
            required = false
    )
    private String resultCode;
    @Element(
            name = "err_code",
            required = false
    )
    private String errCode;
    @Element(
            name = "err_code_des",
            required = false
    )
    private String errCodeDes;
    @Element(
            name = "device_info",
            required = false
    )
    private String deviceInfo;
    @Element(
            name = "openid",
            required = false
    )
    private String openid;
    @Element(
            name = "is_subscribe",
            required = false
    )
    private String isSubscribe;
    @Element(
            name = "trade_type",
            required = false
    )
    private String tradeType;
    @Element(
            name = "trade_state",
            required = false
    )
    private String tradeState;
    @Element(
            name = "bank_type",
            required = false
    )
    private String bankType;
    @Element(
            name = "total_fee",
            required = false
    )
    private String totalFee;
    @Element(
            name = "settlement_total_fee",
            required = false
    )
    private String settlementTotalFee;
    @Element(
            name = "fee_type",
            required = false
    )
    private String feeType;
    @Element(
            name = "cash_fee",
            required = false
    )
    private String cashFee;
    @Element(
            name = "cash_fee_type",
            required = false
    )
    private String cashFeeType;
    @Element(
            name = "coupon_fee",
            required = false
    )
    private String couponFee;
    @Element(
            name = "coupon_count",
            required = false
    )
    private String couponCount;
    @Element(
            name = "transaction_id",
            required = false
    )
    private String transactionId;
    @Element(
            name = "out_trade_no",
            required = false
    )
    private String outTradeNo;
    @Element(
            name = "attach",
            required = false
    )
    private String attach;
    @Element(
            name = "time_end",
            required = false
    )
    private String timeEnd;
    @Element(
            name = "trade_state_desc",
            required = false
    )
    private String tradeStateDesc;

    public WxOrderQueryResponse() {
    }

    public String getReturnCode() {
        return this.returnCode;
    }

    public String getReturnMsg() {
        return this.returnMsg;
    }

    public String getAppid() {
        return this.appid;
    }

    public String getMchId() {
        return this.mchId;
    }

    public String getNonceStr() {
        return this.nonceStr;
    }

    public String getSign() {
        return this.sign;
    }

    public String getResultCode() {
        return this.resultCode;
    }

    public String getErrCode() {
        return this.errCode;
    }

    public String getErrCodeDes() {
        return this.errCodeDes;
    }

    public String getDeviceInfo() {
        return this.deviceInfo;
    }

    public String getOpenid() {
        return this.openid;
    }

    public String getIsSubscribe() {
        return this.isSubscribe;
    }

    public String getTradeType() {
        return this.tradeType;
    }

    public String getTradeState() {
        return this.tradeState;
    }

    public String getBankType() {
        return this.bankType;
    }

    public String getTotalFee() {
        return this.totalFee;
    }

    public String getSettlementTotalFee() {
        return this.settlementTotalFee;
    }

    public String getFeeType() {
        return this.feeType;
    }

    public String getCashFee() {
        return this.cashFee;
    }

    public String getCashFeeType() {
        return this.cashFeeType;
    }

    public String getCouponFee() {
        return this.couponFee;
    }

    public String getCouponCount() {
        return this.couponCount;
    }

    public String getTransactionId() {
        return this.transactionId;
    }

    public String getOutTradeNo() {
        return this.outTradeNo;
    }

    public String getAttach() {
        return this.attach;
    }

    public String getTimeEnd() {
        return this.timeEnd;
    }

    public String getTradeStateDesc() {
        return this.tradeStateDesc;
    }

    public void setReturnCode(String returnCode) {
        this.returnCode = returnCode;
    }

    public void setReturnMsg(String returnMsg) {
        this.returnMsg = returnMsg;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public void setNonceStr(String nonceStr) {
        this.nonceStr = nonceStr;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public void setResultCode(String resultCode) {
        this.resultCode = resultCode;
    }

    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }

    public void setErrCodeDes(String errCodeDes) {
        this.errCodeDes = errCodeDes;
    }

    public void setDeviceInfo(String deviceInfo) {
        this.deviceInfo = deviceInfo;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public void setIsSubscribe(String isSubscribe) {
        this.isSubscribe = isSubscribe;
    }

    public void setTradeType(String tradeType) {
        this.tradeType = tradeType;
    }

    public void setTradeState(String tradeState) {
        this.tradeState = tradeState;
    }

    public void setBankType(String bankType) {
        this.bankType = bankType;
    }

    public void setTotalFee(String totalFee) {
        this.totalFee = totalFee;
    }

    public void setSettlementTotalFee(String settlementTotalFee) {
        this.settlementTotalFee = settlementTotalFee;
    }

    public void setFeeType(String feeType) {
        this.feeType = feeType;
    }

    public void setCashFee(String cashFee) {
        this.cashFee = cashFee;
    }

    public void setCashFeeType(String cashFeeType) {
        this.cashFeeType = cashFeeType;
    }

    public void setCouponFee(String couponFee) {
        this.couponFee = couponFee;
    }

    public void setCouponCount(String couponCount) {
        this.couponCount = couponCount;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }

    public void setTimeEnd(String timeEnd) {
        this.timeEnd = timeEnd;
    }

    public void setTradeStateDesc(String tradeStateDesc) {
        this.tradeStateDesc = tradeStateDesc;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof WxOrderQueryResponse)) {
            return false;
        } else {
            WxOrderQueryResponse other = (WxOrderQueryResponse)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label335: {
                    Object this$returnCode = this.getReturnCode();
                    Object other$returnCode = other.getReturnCode();
                    if (this$returnCode == null) {
                        if (other$returnCode == null) {
                            break label335;
                        }
                    } else if (this$returnCode.equals(other$returnCode)) {
                        break label335;
                    }

                    return false;
                }

                Object this$returnMsg = this.getReturnMsg();
                Object other$returnMsg = other.getReturnMsg();
                if (this$returnMsg == null) {
                    if (other$returnMsg != null) {
                        return false;
                    }
                } else if (!this$returnMsg.equals(other$returnMsg)) {
                    return false;
                }

                Object this$appid = this.getAppid();
                Object other$appid = other.getAppid();
                if (this$appid == null) {
                    if (other$appid != null) {
                        return false;
                    }
                } else if (!this$appid.equals(other$appid)) {
                    return false;
                }

                label314: {
                    Object this$mchId = this.getMchId();
                    Object other$mchId = other.getMchId();
                    if (this$mchId == null) {
                        if (other$mchId == null) {
                            break label314;
                        }
                    } else if (this$mchId.equals(other$mchId)) {
                        break label314;
                    }

                    return false;
                }

                label307: {
                    Object this$nonceStr = this.getNonceStr();
                    Object other$nonceStr = other.getNonceStr();
                    if (this$nonceStr == null) {
                        if (other$nonceStr == null) {
                            break label307;
                        }
                    } else if (this$nonceStr.equals(other$nonceStr)) {
                        break label307;
                    }

                    return false;
                }

                Object this$sign = this.getSign();
                Object other$sign = other.getSign();
                if (this$sign == null) {
                    if (other$sign != null) {
                        return false;
                    }
                } else if (!this$sign.equals(other$sign)) {
                    return false;
                }

                Object this$resultCode = this.getResultCode();
                Object other$resultCode = other.getResultCode();
                if (this$resultCode == null) {
                    if (other$resultCode != null) {
                        return false;
                    }
                } else if (!this$resultCode.equals(other$resultCode)) {
                    return false;
                }

                label286: {
                    Object this$errCode = this.getErrCode();
                    Object other$errCode = other.getErrCode();
                    if (this$errCode == null) {
                        if (other$errCode == null) {
                            break label286;
                        }
                    } else if (this$errCode.equals(other$errCode)) {
                        break label286;
                    }

                    return false;
                }

                label279: {
                    Object this$errCodeDes = this.getErrCodeDes();
                    Object other$errCodeDes = other.getErrCodeDes();
                    if (this$errCodeDes == null) {
                        if (other$errCodeDes == null) {
                            break label279;
                        }
                    } else if (this$errCodeDes.equals(other$errCodeDes)) {
                        break label279;
                    }

                    return false;
                }

                Object this$deviceInfo = this.getDeviceInfo();
                Object other$deviceInfo = other.getDeviceInfo();
                if (this$deviceInfo == null) {
                    if (other$deviceInfo != null) {
                        return false;
                    }
                } else if (!this$deviceInfo.equals(other$deviceInfo)) {
                    return false;
                }

                label265: {
                    Object this$openid = this.getOpenid();
                    Object other$openid = other.getOpenid();
                    if (this$openid == null) {
                        if (other$openid == null) {
                            break label265;
                        }
                    } else if (this$openid.equals(other$openid)) {
                        break label265;
                    }

                    return false;
                }

                Object this$isSubscribe = this.getIsSubscribe();
                Object other$isSubscribe = other.getIsSubscribe();
                if (this$isSubscribe == null) {
                    if (other$isSubscribe != null) {
                        return false;
                    }
                } else if (!this$isSubscribe.equals(other$isSubscribe)) {
                    return false;
                }

                label251: {
                    Object this$tradeType = this.getTradeType();
                    Object other$tradeType = other.getTradeType();
                    if (this$tradeType == null) {
                        if (other$tradeType == null) {
                            break label251;
                        }
                    } else if (this$tradeType.equals(other$tradeType)) {
                        break label251;
                    }

                    return false;
                }

                Object this$tradeState = this.getTradeState();
                Object other$tradeState = other.getTradeState();
                if (this$tradeState == null) {
                    if (other$tradeState != null) {
                        return false;
                    }
                } else if (!this$tradeState.equals(other$tradeState)) {
                    return false;
                }

                Object this$bankType = this.getBankType();
                Object other$bankType = other.getBankType();
                if (this$bankType == null) {
                    if (other$bankType != null) {
                        return false;
                    }
                } else if (!this$bankType.equals(other$bankType)) {
                    return false;
                }

                label230: {
                    Object this$totalFee = this.getTotalFee();
                    Object other$totalFee = other.getTotalFee();
                    if (this$totalFee == null) {
                        if (other$totalFee == null) {
                            break label230;
                        }
                    } else if (this$totalFee.equals(other$totalFee)) {
                        break label230;
                    }

                    return false;
                }

                label223: {
                    Object this$settlementTotalFee = this.getSettlementTotalFee();
                    Object other$settlementTotalFee = other.getSettlementTotalFee();
                    if (this$settlementTotalFee == null) {
                        if (other$settlementTotalFee == null) {
                            break label223;
                        }
                    } else if (this$settlementTotalFee.equals(other$settlementTotalFee)) {
                        break label223;
                    }

                    return false;
                }

                Object this$feeType = this.getFeeType();
                Object other$feeType = other.getFeeType();
                if (this$feeType == null) {
                    if (other$feeType != null) {
                        return false;
                    }
                } else if (!this$feeType.equals(other$feeType)) {
                    return false;
                }

                Object this$cashFee = this.getCashFee();
                Object other$cashFee = other.getCashFee();
                if (this$cashFee == null) {
                    if (other$cashFee != null) {
                        return false;
                    }
                } else if (!this$cashFee.equals(other$cashFee)) {
                    return false;
                }

                label202: {
                    Object this$cashFeeType = this.getCashFeeType();
                    Object other$cashFeeType = other.getCashFeeType();
                    if (this$cashFeeType == null) {
                        if (other$cashFeeType == null) {
                            break label202;
                        }
                    } else if (this$cashFeeType.equals(other$cashFeeType)) {
                        break label202;
                    }

                    return false;
                }

                label195: {
                    Object this$couponFee = this.getCouponFee();
                    Object other$couponFee = other.getCouponFee();
                    if (this$couponFee == null) {
                        if (other$couponFee == null) {
                            break label195;
                        }
                    } else if (this$couponFee.equals(other$couponFee)) {
                        break label195;
                    }

                    return false;
                }

                Object this$couponCount = this.getCouponCount();
                Object other$couponCount = other.getCouponCount();
                if (this$couponCount == null) {
                    if (other$couponCount != null) {
                        return false;
                    }
                } else if (!this$couponCount.equals(other$couponCount)) {
                    return false;
                }

                Object this$transactionId = this.getTransactionId();
                Object other$transactionId = other.getTransactionId();
                if (this$transactionId == null) {
                    if (other$transactionId != null) {
                        return false;
                    }
                } else if (!this$transactionId.equals(other$transactionId)) {
                    return false;
                }

                label174: {
                    Object this$outTradeNo = this.getOutTradeNo();
                    Object other$outTradeNo = other.getOutTradeNo();
                    if (this$outTradeNo == null) {
                        if (other$outTradeNo == null) {
                            break label174;
                        }
                    } else if (this$outTradeNo.equals(other$outTradeNo)) {
                        break label174;
                    }

                    return false;
                }

                label167: {
                    Object this$attach = this.getAttach();
                    Object other$attach = other.getAttach();
                    if (this$attach == null) {
                        if (other$attach == null) {
                            break label167;
                        }
                    } else if (this$attach.equals(other$attach)) {
                        break label167;
                    }

                    return false;
                }

                Object this$timeEnd = this.getTimeEnd();
                Object other$timeEnd = other.getTimeEnd();
                if (this$timeEnd == null) {
                    if (other$timeEnd != null) {
                        return false;
                    }
                } else if (!this$timeEnd.equals(other$timeEnd)) {
                    return false;
                }

                Object this$tradeStateDesc = this.getTradeStateDesc();
                Object other$tradeStateDesc = other.getTradeStateDesc();
                if (this$tradeStateDesc == null) {
                    if (other$tradeStateDesc != null) {
                        return false;
                    }
                } else if (!this$tradeStateDesc.equals(other$tradeStateDesc)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof WxOrderQueryResponse;
    }



    public String toString() {
        return "WxOrderQueryResponse(returnCode=" + this.getReturnCode() + ", returnMsg=" + this.getReturnMsg() + ", appid=" + this.getAppid() + ", mchId=" + this.getMchId() + ", nonceStr=" + this.getNonceStr() + ", sign=" + this.getSign() + ", resultCode=" + this.getResultCode() + ", errCode=" + this.getErrCode() + ", errCodeDes=" + this.getErrCodeDes() + ", deviceInfo=" + this.getDeviceInfo() + ", openid=" + this.getOpenid() + ", isSubscribe=" + this.getIsSubscribe() + ", tradeType=" + this.getTradeType() + ", tradeState=" + this.getTradeState() + ", bankType=" + this.getBankType() + ", totalFee=" + this.getTotalFee() + ", settlementTotalFee=" + this.getSettlementTotalFee() + ", feeType=" + this.getFeeType() + ", cashFee=" + this.getCashFee() + ", cashFeeType=" + this.getCashFeeType() + ", couponFee=" + this.getCouponFee() + ", couponCount=" + this.getCouponCount() + ", transactionId=" + this.getTransactionId() + ", outTradeNo=" + this.getOutTradeNo() + ", attach=" + this.getAttach() + ", timeEnd=" + this.getTimeEnd() + ", tradeStateDesc=" + this.getTradeStateDesc() + ")";
    }
}
